{% extends 'student/base.html' %}

{% load static %}

{% block title %}学生信息-ZZN'S WEBSITE{% endblock  %}

{% block main %}
<div class="null">

</div>
<main class="container text-center">
    <div class="text-center">
        <h4>带*为必填项</h4>
        {% if warning %}
        <h4 class="text-warning">{{ warning }}</h4>
        {% endif %}
    </div>
    <div class="null"></div>
    <div class="table-responsive">
        <form action="" method="post">
            {% csrf_token %}
        <table class="table table-light table-hover table-striped">
            <thead class="thead-dark">
            <tr>
                <th>姓名*</th>
                <th>学号*</th>
                <th>学院*</th>
                <th>班级*</th>
                <th>手机号码*</th>
                <th>QQ*</th>


            </tr>
            </thead>
            <tbody>
            <tr>
                    <td><input type="text" class="form-control" name="Name" required></td>
                    <td><input type="text" class="form-control" name="Code" required></td>
                    <td>
                        <select class="form-control" name="College">
                            <option value="未选" selected="selected">请选择学院-----------</option>
                            <option value="信艺">信艺</option>
                            <option value="经管">经管</option>
                            <option value="国教">国教</option>
                            <option value="机械">机械</option>
                            <option value="水利">水利</option>
                            <option value="建工">建工</option>
                            <option value="电气">电气</option>
                            <option value="测市">测市</option>
                        </select>
                    </td>
                    <td><input type="text" class="form-control" name="Class" required></td>
                    <td><input type="text" class="form-control" name="Tel" required></td>
                    <td><input type="text" class="form-control" name="QQ" required></td>
            </tr>
            </tbody>
        </table>

        <div class="null">

        </div>

            <table class="table table-light table-hover table-striped">
                <thead class="thead-dark">
                <tr>
                    <th>个人介绍</th>
                    <th>生日</th>


                </tr>
                </thead>
                <tbody>


                <tr>

                    <td><input type="text" class="form-control" name="Self"></td>
                    <td><input type="date" class="form-control" name="Birthday"></td>



                </tr>

            </table>

            <button type="submit" class="btn btn-primary btn-lg">提交</button>

        </form>
    </div>
</main>
<div class="null"></div>


{% endblock main %}